import mitt from "mitt";

type Events = {
    selectTitle: number | null
    selectTitle2: number
    newChat: void
    chatAddContent: {
        role: string
        content: string
    }
    chatContentLoading: boolean
}

export const emitter = mitt<Events>();
